Subject-based access control (SBAC) restricts access based on the user attributes, while object-based access control (OBAC) restricts access based on the object attributes.

Subject-Based Access Control

SBAC is a model that determines access to resources based on the attributes or characteristics of the user (subject). In SBAC, access decisions are made by evaluating the attributes associated with the user attempting to access the resource. These attributes may include user identity, group membership, roles, clearance level, department, job title, or any other user-specific characteristics.

Access decisions in SBAC are based on policies that specify which attributes are required to access a resource and the conditions under which access is to be granted or denied. These policies are typically defined and enforced by access control mechanisms, such as access control lists (ACLs), authorization rules, or attribute-based access control (ABAC) engines.

SBAC can be implemented statically or dynamically, by allowing access decisions to be based on real-time changes in user attributes or environmental conditions. For example, access to sensitive data may be restricted based on the user’s current location, time of day, or device used for access. Great granularity is also possible, by allowing access policies to be defined based on specific user attributes or combinations of attributes. This allows organizations to tailor access permissions to individual user roles, responsibilities, and access requirements—although this can quickly lead to high administrative overheads.

One real advantage of SBAC has to do with compliance and security. SBAC helps organizations achieve compliance with regulatory requirements and security standards by enforcing access control policies based on user attributes.

By restricting access to sensitive resources based on user characteristics, SBAC helps mitigate the risk of unauthorized access and data breaches.

Object-Based Access Control

OBAC is a model that determines access to resources based on the attributes or characteristics of the resource (object) being sought or accessed. These attributes might include the type of resource, its classification, sensitivity level, ownership, location or any other relevant object-specific characteristics or metadata. As always, it is the data owners who will decide what sort of access should be allowed, and to what or whom. The access control policies derived from these decisions will specify the conditions under which access to the resource is granted or denied. These policies will define the access rights, permissions, and restrictions associated with each resource and are typically enforced by access control mechanisms such as access control lists (ACLs) or security labels.

OBAC often incorporates classification and sensitivity labels to categorize resources based on their level of sensitivity or importance. Resources may be classified as public, internal, confidential, or highly sensitive, and access control policies are applied accordingly to ensure appropriate protection.

As with SBAC, OBAC supports dynamic and static access control by allowing access decisions based on real-time changes in resource attributes or environmental conditions. For example, access to a document may be restricted based on its classification or sensitivity level, which may change over time. Again, as with SBAC, OBAC enables granular access control by allowing access policies to be defined based on specific resource attributes or combinations of attributes. This allows organizations to tailor access permissions to individual resources, ensuring that sensitive or confidential data is adequately protected.

Finally, OBAC helps organizations achieve compliance with regulatory requirements and security standards by enforcing access control policies based on resource attributes.

By restricting access to resources based on their characteristics, OBAC helps mitigate the risk of unauthorized access, data breaches, and security incidents.

The figure illustrates the relationship between subjects and the objects being accessed.

Figure: Subjects, objects, and access